Instructions to use hadifar/summarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hadifar/summarizer with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hadifar/summarizer") model = AutoModelForSeq2SeqLM.from_pretrained("hadifar/summarizer") - Notebooks
- Google Colab
- Kaggle
Upload RobertaForSequenceClassification
Browse files- config.json +1 -1
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "model/
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "model/patent_classifier",
|
| 3 |
"architectures": [
|
| 4 |
"RobertaForSequenceClassification"
|
| 5 |
],
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 498609748
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f10e82746330fddc98f2771f1c466f15338fe5e1cebf19f8561ecbf910557b8
|
| 3 |
size 498609748
|