Instructions to use c2p-cmd/Bart-Large-CNN-int8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use c2p-cmd/Bart-Large-CNN-int8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="c2p-cmd/Bart-Large-CNN-int8", device_map="auto")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("c2p-cmd/Bart-Large-CNN-int8") model = AutoModelForSeq2SeqLM.from_pretrained("c2p-cmd/Bart-Large-CNN-int8", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model:
|
| 3 |
+
- facebook/bart-large-cnn
|
| 4 |
+
pipeline_tag: feature-extraction
|
| 5 |
+
library_name: transformers
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
int8 bit quantized version of [bart-large-cnn](https://huggingface.co/facebook/bart-large-cnn)
|