Aya Expanse 8b Pruned 4layers Finetuned
This model is a fine-tuned version of AnishRacherla/aya-expanse-8b-pruned-4newlayers. It has been trained using TRL.
Model source
- Kind
- LoRA
- File size
- 11.4 MB
- Base model
- AnishRacherla/aya-expanse-8b-pruned-4newlayers
- Version
- vFP32
- Updated
- Nov 1, 2026
- Publisher
- @AnishRacherla
- Downloads
- 0
- Parameters
- 8B
- Source
- Hugging Face
Source description
Model Card for aya-expanse-8b-pruned-4layers-finetuned
This model is a fine-tuned version of AnishRacherla/aya-expanse-8b-pruned-4newlayers. It has been trained using TRL.
Quick start
from transformers import pipeline
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
generator = pipeline("text-generation", model="AnishRacherla/aya-expanse-8b-pruned-4layers-finetuned", device="cuda")
output = generator([{"role": "user", "content": question}], 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.7.0
- Transformers: 5.0.0
- Pytorch: 2.10.0+cu128
- Datasets: 4.8.5
- Tokenizers: 0.22.2
Citations
Cite TRL as:
@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}
}
Sources
1 source
Sources
1 sourceVerified Nov 1
Download files
Repository files
File inventory only; completeness is unverified.
- adapter_config.json
- adapter_model.safetensors
- last-checkpoint/adapter_config.json
- last-checkpoint/adapter_model.safetensors
- last-checkpoint/tokenizer.json
- last-checkpoint/tokenizer_config.json
- last-checkpoint/trainer_state.json
- last-checkpoint/training_args.bin
- tokenizer.json
- tokenizer_config.json
- training_args.bin
Model artifacts
1 artifact
Model artifacts
1 artifactadapter_model.safetensors
safetensors · FP32 (tensor header) · 11.4 MB · SHA-256 e25e2d35ecb6…fbab · Hugging Face
Download fileSource excerpts
3 excerpts
Source excerpts
3 excerpts--- base_model: AnishRacherla/aya-expanse-8b-pruned-4newlayers library_name: transformers model_name: aya-expanse-8b-pruned-4layers-finetuned tags: - generated_from_trainer - trl - sft licence: license --- # Model Card for aya-expanse-8b-pruned-4layers-finetuned This model is a fine-tuned version of [AnishRacherla/aya-expanse-8b-pruned-4newlayers](https://huggingface.co/AnishRacherla/aya-expanse-8b-pruned-4newlayers). It has been trained using [TRL](https://github.com/huggingface/trl). ## Quick start ```python from transformers import pipeline question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?" generator = pipeline("text-generation", model="AnishRacherla/aya-expanse-8b-pruned-4layers-finetuned", device="cuda") output = generator([{"role": "user", "content": question}], 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.7.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} } ```
Source context: 0 downloads · 0 likes · Library transformers · Repo AnishRacherla/aya-expanse-8b-pruned-4layers-finetuned
Source context: 0 downloads · 0 likes · Library transformers · Repo AnishRacherla/aya-expanse-8b-pruned-4layers-finetuned
