Instructions to use Salesforce/xgen-small-r with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/xgen-small-r with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Salesforce/xgen-small-r", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files1234# Coming Soon -- Welcome to the xGen-small family is an enterprise-ready compact LM that combines domain-focused data curation, scalable pre-training, length-extension, and RL fine-tuning to deliver long-context performance at predictable, low cost.123456789---license: cc-by-nc-4.0language:- enlibrary_name: transformers---# Coming Soon -- Welcome to the xGen-small family is an enterprise-ready compact LM that combines domain-focused data curation, scalable pre-training, length-extension, and RL fine-tuning to deliver long-context performance at predictable, low cost.
README.md+6-1