from transformers import AutoTokenizer
from gptqmodel import GPTQModel
tokenizer = AutoTokenizer.from_pretrained("ModelCloud/Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1")
model = GPTQModel.load("ModelCloud/Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1")
messages = [
{"role": "user", "content": "How can I design a data structure in C++ to store the top 5 largest integer numbers?"},
]
input_tensor = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt")
outputs = model.generate(input_ids=input_tensor.to(model.device), max_new_tokens=512)
result = tokenizer.decode(outputs[0][input_tensor.shape[1]:], skip_special_tokens=True)
print(result)
Runs of ModelCloud Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 on huggingface.co
4
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-2
30-day runs
More Information About Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 huggingface.co Model
More Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 license Visit here:
Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 huggingface.co is an AI model on huggingface.co that provides Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1's model effect (), which can be used instantly with this ModelCloud Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 model. huggingface.co supports a free trial of the Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 model, and also provides paid use of the Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1. Support call Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 model through api, including Node.js, Python, http.
Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 huggingface.co is an online trial and call api platform, which integrates Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1's modeling effects, including api services, and provides a free online trial of Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1, you can try Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 online for free by clicking the link below.
ModelCloud Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 online free url in huggingface.co:
Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 is an open source model from GitHub that offers a free installation service, and any user can find Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 on GitHub to install. At the same time, huggingface.co provides the effect of Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 install, users can directly use Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
Falcon3-10B-Instruct-gptqmodel-4bit-vortex-v1 install url in huggingface.co: