加载中…
加载中…
Developed by: vinhnx90
License: Apache-2.0
Base Model: Fine-tuned from unsloth/qwen2.5-3b-instruct-unsloth-bnb-4bit
Model Size: 3.09B parameters
Quantization: 4-bit (Q4_K_M)
Architecture: Qwen2
Primary Language: English
Frameworks: Transformers, GGUF
This Qwen2 model was trained 2× faster using Unsloth and Hugging Face’s TRL library.
vt-gwen-2.5-3b-Q4_k_m-gguf is a fine-tuned variant of the Qwen2.5 3B instruct model. It has been optimized for both speed and reasoning capability, making it well-suited for complex problem-solving and conversational applications. Enhanced with reinforcement learning using the GPRO algorithm and fine-tuned on the openai/gsm8k dataset, this model excels at mathematical and logical reasoning.
This model is best suited for:
Below is a quick code snippet using the Transformers library:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "vinhnx90/vt-gwen-2.5-3b-Q4_k_m-gguf"
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto")
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "Explain the theory of relativity and provide a related mathematical example."
input_ids = tokenizer(prompt, return_tensors="pt").input_ids
outputs = model.generate(input_ids, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
For local inference using llama.cpp:
Download or convert the model: Ensure you have the GGUF file.
Run with llama.cpp:
./llama.cpp -m path/to/vt-gwen-2.5-3b-Q4_k_m-gguf.gguf -n 512 -co -sp -cnv -p "You are a helpful assistant."
Tip: Adjust the prompt and parameters as needed for your application.
LM Studio supports GGUF models:
For users of Ollama:
ollama run hf.co/vinhnx90/vt-gwen-2.5-3b-Q4_k_m-gguf
If you use this model, please consider citing it as follows:
@misc{vt_gwen_2.5_3b,
title = {vt-gwen-2.5-3b-Q4_k_m-gguf},
author = {vinhnx90},
howpublished = {\url{https://huggingface.co/vinhnx90/vt-gwen-2.5-3b-Q4_k_m-gguf}},
license = {Apache-2.0}
}
For questions, issues, or contributions, please visit the model page on Hugging Face to open an issue or contact the developer directly.