from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "MaziyarPanahi/home-AWQ"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id).to(0)
text = "User:\nHello can you provide me with top-3 cool places to visit in Paris?\n\nAssistant:\n"
inputs = tokenizer(text, return_tensors="pt").to(0)
out = model.generate(**inputs, max_new_tokens=300)
print(tokenizer.decode(out[0], skip_special_tokens=True))
Results:
User:
Hello can you provide me with top-3 cool places to visit in Paris?
Assistant:
Absolutely, here are my top-3 recommendations for must-see places in Paris:
1. The Eiffel Tower: An icon of Paris, this wrought-iron lattice tower is a global cultural icon of France and is among the most recognizable structures in the world. Climbing up to the top offers breathtaking views of the city.
2. The Louvre Museum: Home to thousands of works of art, the Louvre is the world's largest art museum and a historic monument in Paris. Must-see pieces include the Mona Lisa, the Winged Victory of Samothrace, and the Venus de Milo.
3. Notre-Dame Cathedral: This cathedral is a masterpiece of French Gothic architecture and is famous for its intricate stone carvings, beautiful stained glass, and its iconic twin towers. Be sure to spend some time exploring its history and learning about the fascinating restoration efforts post the 2019 fire.
I hope you find these recommendations helpful and that they make for an enjoyable and memorable trip to Paris. Safe travels!
Runs of MaziyarPanahi WizardLM-2-8x22B-AWQ on huggingface.co
37.1K
Total runs
0
24-hour runs
391
3-day runs
1.3K
7-day runs
36.2K
30-day runs
More Information About WizardLM-2-8x22B-AWQ huggingface.co Model
WizardLM-2-8x22B-AWQ huggingface.co
WizardLM-2-8x22B-AWQ huggingface.co is an AI model on huggingface.co that provides WizardLM-2-8x22B-AWQ's model effect (), which can be used instantly with this MaziyarPanahi WizardLM-2-8x22B-AWQ model. huggingface.co supports a free trial of the WizardLM-2-8x22B-AWQ model, and also provides paid use of the WizardLM-2-8x22B-AWQ. Support call WizardLM-2-8x22B-AWQ model through api, including Node.js, Python, http.
WizardLM-2-8x22B-AWQ huggingface.co is an online trial and call api platform, which integrates WizardLM-2-8x22B-AWQ's modeling effects, including api services, and provides a free online trial of WizardLM-2-8x22B-AWQ, you can try WizardLM-2-8x22B-AWQ online for free by clicking the link below.
MaziyarPanahi WizardLM-2-8x22B-AWQ online free url in huggingface.co:
WizardLM-2-8x22B-AWQ is an open source model from GitHub that offers a free installation service, and any user can find WizardLM-2-8x22B-AWQ on GitHub to install. At the same time, huggingface.co provides the effect of WizardLM-2-8x22B-AWQ install, users can directly use WizardLM-2-8x22B-AWQ installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
WizardLM-2-8x22B-AWQ install url in huggingface.co: