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 files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ library_name: transformers
|
|
| 11 |
**This model release is for research purposes only.**
|
| 12 |
|
| 13 |
<p align="center">
|
| 14 |
-
<img width="50%" src="https://huggingface.co/Salesforce/xgen-small/
|
| 15 |
</p>
|
| 16 |
|
| 17 |
## Ethical Considerations
|
|
|
|
| 11 |
**This model release is for research purposes only.**
|
| 12 |
|
| 13 |
<p align="center">
|
| 14 |
+
<img width="50%" src="https://huggingface.co/Salesforce/xgen-small/resolve/main/xgen-small.png?download=true">
|
| 15 |
</p>
|
| 16 |
|
| 17 |
## Ethical Considerations
|