How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="ClaudioItaly/intelligence-cod-rag-7b-v3")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("ClaudioItaly/intelligence-cod-rag-7b-v3")
model = AutoModelForCausalLM.from_pretrained("ClaudioItaly/intelligence-cod-rag-7b-v3")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

merge

my elaboration and fusion of the models has led to a surprising result that I want to share with you all. I recommend you try this merge of mine.

Demonstrates strong reasoning skills when asked questions or texts. It is useful for reasoning to formulate questions with this example "Question: How did the Moon arise in your opinion?

GGUF ClaudioItaly/intelligence-cod-rag-7b-v3-Q6_K-GGUF GUUF ClaudioItaly/intelligence-cod-rag-7b-v3-Q8_0-GGUF ```

Downloads last month
19
Safetensors
Model size
8B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ClaudioItaly/intelligence-cod-rag-7b-v3

Merge model
this model
Merges
4 models
Quantizations
2 models