Downloads · 30 days
13
19% of all-time downloads
ahan2000/Qwen2.5-FT-Deploy
Qwen2.5-FT-Deploy is a text generation model from ahan2000. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This is a fine-tuned model using PPO (Proximal Policy Optimization) reinforcement learning.
Downloads · 30 days
13
19% of all-time downloads
All-time downloads
67
Public
Parameters
7.6B
6.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.6 GB · 100%
From the Hugging Face model README
This is a fine-tuned model using PPO (Proximal Policy Optimization) reinforcement learning.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_name = "ahan2000/Qwen2.5-FT"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.float16)
# Example usage
text = "Your input text here"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_length=100)
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(generated_text)
This model contains the following files:
config.json: Model configurationgeneration_config.json: Generation configurationtokenizer_config.json: Tokenizer configurationtokenizer.json: Tokenizer datavocab.json: Vocabulary filemodel-*.safetensors: Model weights in SafeTensors formatmodel.safetensors.index.json: Model index fileThis model was trained using PPO reinforcement learning to optimize for specific objectives.
Please use this model responsibly and in accordance with applicable laws and regulations.
If you use this model, please cite:
@misc{ahan2000_Qwen2.5-FT,
title={ahan2000/Qwen2.5-FT},
author={Your Name},
year={2024},
publisher={Hugging Face},
howpublished={\url{https://huggingface.co/ahan2000/Qwen2.5-FT}}
}