Instructions to use ahnaf702/SentibertLarge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ahnaf702/SentibertLarge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ahnaf702/SentibertLarge")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ahnaf702/SentibertLarge") model = AutoModelForSequenceClassification.from_pretrained("ahnaf702/SentibertLarge", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload ElectraForSequenceClassification
Browse files- config.json +1 -1
- pytorch_model.bin +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"ElectraForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/kaggle/working/Save_models/my_model.keras",
|
| 3 |
"architectures": [
|
| 4 |
"ElectraForSequenceClassification"
|
| 5 |
],
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 55023609
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4732f274ec9b054d5818d5eaff8e3a92da58efbb525e91f763a593a40b03d171
|
| 3 |
size 55023609
|