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 files10 unmodified lines1112131415161710 unmodified lines**This model release is for research purposes only.**<p align="center"><img width="50%" src="https://huggingface.co/Salesforce/xgen-small/blob/main/xgen-small.png?raw=true"></p>## Ethical Considerations10 unmodified lines1112131415161710 unmodified lines**This model release is for research purposes only.**<p align="center"><img width="50%" src="https://huggingface.co/Salesforce/xgen-small/resolve/main/xgen-small.png?download=true"></p>## Ethical Considerations
README.md+1-1