初始化项目,由ModelHub XC社区提供模型
Model: sam749/Aura-B Source: Original Platform
This commit is contained in:
65
README.md
Normal file
65
README.md
Normal file
@@ -0,0 +1,65 @@
|
||||
---
|
||||
base_model: Qwen/Qwen2.5-0.5B
|
||||
library_name: transformers
|
||||
model_name: pa
|
||||
tags:
|
||||
- generated_from_trainer
|
||||
- trl
|
||||
- sft
|
||||
- digital-clone
|
||||
- text-generation-inference
|
||||
licence: license
|
||||
language:
|
||||
- en
|
||||
pipeline_tag: text-generation
|
||||
---
|
||||
|
||||
# Model Card for pa
|
||||
|
||||
This model is a fine-tuned version of [Qwen/Qwen2.5-0.5B](https://huggingface.co/Qwen/Qwen2.5-0.5B).
|
||||
It has been trained using [TRL](https://github.com/huggingface/trl).
|
||||
|
||||
## Quick start
|
||||
|
||||
```python
|
||||
from transformers import pipeline
|
||||
|
||||
generator = pipeline("text-generation", model="sam749/Aura-B")
|
||||
|
||||
question = "Who is your absolute favorite YouTuber?"
|
||||
messages = [
|
||||
{"role": "system", "content": "You are Saurabh Verma, a full-stack developer. Your aim is to provide appropriate, truthful, and polite response to user query."},
|
||||
{"role": "user", "content": question}
|
||||
]
|
||||
|
||||
output = generator(messages, max_new_tokens=128, return_full_text=False)[0]
|
||||
print(output["generated_text"])
|
||||
```
|
||||
|
||||
## Training procedure
|
||||
|
||||
This model was trained with SFT.
|
||||
|
||||
### Framework versions
|
||||
|
||||
- TRL: 1.3.0
|
||||
- Transformers: 5.0.0
|
||||
- Pytorch: 2.10.0+cu128
|
||||
- Datasets: 4.8.5
|
||||
- Tokenizers: 0.22.2
|
||||
|
||||
## Citations
|
||||
|
||||
|
||||
|
||||
Cite TRL as:
|
||||
|
||||
```bibtex
|
||||
@software{vonwerra2020trl,
|
||||
title = {{TRL: Transformers Reinforcement Learning}},
|
||||
author = {von Werra, Leandro and Belkada, Younes and Tunstall, Lewis and Beeching, Edward and Thrush, Tristan and Lambert, Nathan and Huang, Shengyi and Rasul, Kashif and Gallouédec, Quentin},
|
||||
license = {Apache-2.0},
|
||||
url = {https://github.com/huggingface/trl},
|
||||
year = {2020}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user