Instructions to use ghatgetanuj/funnel-transformer-xlarge_cls_SentEval-CR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ghatgetanuj/funnel-transformer-xlarge_cls_SentEval-CR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ghatgetanuj/funnel-transformer-xlarge_cls_SentEval-CR")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ghatgetanuj/funnel-transformer-xlarge_cls_SentEval-CR") model = AutoModelForSequenceClassification.from_pretrained("ghatgetanuj/funnel-transformer-xlarge_cls_SentEval-CR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f87d580
1
Parent(s): ec6e995
Training in progress, epoch 1
Browse files- .gitignore +1 -0
- config.json +41 -0
- pytorch_model.bin +3 -0
- runs/Dec13_17-07-42_075fc617ac43/1670951272.1928294/events.out.tfevents.1670951272.075fc617ac43.76.1 +3 -0
- runs/Dec13_17-07-42_075fc617ac43/events.out.tfevents.1670951272.075fc617ac43.76.0 +3 -0
- special_tokens_map.json +9 -0
- tokenizer.json +0 -0
- tokenizer_config.json +18 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
checkpoint-*/
|
config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "funnel-transformer/xlarge",
|
| 3 |
+
"activation_dropout": 0.0,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"FunnelForSequenceClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_dropout": 0.1,
|
| 8 |
+
"attention_type": "relative_shift",
|
| 9 |
+
"block_repeats": [
|
| 10 |
+
1,
|
| 11 |
+
1,
|
| 12 |
+
1
|
| 13 |
+
],
|
| 14 |
+
"block_sizes": [
|
| 15 |
+
10,
|
| 16 |
+
10,
|
| 17 |
+
10
|
| 18 |
+
],
|
| 19 |
+
"d_head": 64,
|
| 20 |
+
"d_inner": 4096,
|
| 21 |
+
"d_model": 1024,
|
| 22 |
+
"hidden_act": "gelu_new",
|
| 23 |
+
"hidden_dropout": 0.1,
|
| 24 |
+
"initializer_range": 0.1,
|
| 25 |
+
"initializer_std": null,
|
| 26 |
+
"layer_norm_eps": 1e-09,
|
| 27 |
+
"max_position_embeddings": 512,
|
| 28 |
+
"model_type": "funnel",
|
| 29 |
+
"n_head": 16,
|
| 30 |
+
"num_decoder_layers": 2,
|
| 31 |
+
"pool_q_only": true,
|
| 32 |
+
"pooling_type": "mean",
|
| 33 |
+
"problem_type": "single_label_classification",
|
| 34 |
+
"rel_attn_type": "factorized",
|
| 35 |
+
"separate_cls": true,
|
| 36 |
+
"torch_dtype": "float32",
|
| 37 |
+
"transformers_version": "4.25.1",
|
| 38 |
+
"truncate_seq": true,
|
| 39 |
+
"type_vocab_size": 3,
|
| 40 |
+
"vocab_size": 30522
|
| 41 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9739b4b54ea77a600ae79760b30cec5db2592ad8e57ddd3b1b1fb3568e46e5e
|
| 3 |
+
size 1767309001
|
runs/Dec13_17-07-42_075fc617ac43/1670951272.1928294/events.out.tfevents.1670951272.075fc617ac43.76.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a05e0aa47ae29aad3d3a27811c42d75fd2adc8b55b191bf0a16b0c92e62f0c40
|
| 3 |
+
size 5603
|
runs/Dec13_17-07-42_075fc617ac43/events.out.tfevents.1670951272.075fc617ac43.76.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d194006dfc429e3bce23d0fed40940847c8d0f4aa20a81faf1918805f7ebcd9c
|
| 3 |
+
size 4285
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"cls_token": "<cls>",
|
| 4 |
+
"eos_token": "</s>",
|
| 5 |
+
"mask_token": "<mask>",
|
| 6 |
+
"pad_token": "<pad>",
|
| 7 |
+
"sep_token": "<sep>",
|
| 8 |
+
"unk_token": "<unk>"
|
| 9 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<s>",
|
| 3 |
+
"clean_text": true,
|
| 4 |
+
"cls_token": "<cls>",
|
| 5 |
+
"do_lower_case": true,
|
| 6 |
+
"eos_token": "</s>",
|
| 7 |
+
"mask_token": "<mask>",
|
| 8 |
+
"model_max_length": 512,
|
| 9 |
+
"name_or_path": "funnel-transformer/xlarge",
|
| 10 |
+
"pad_token": "<pad>",
|
| 11 |
+
"sep_token": "<sep>",
|
| 12 |
+
"special_tokens_map_file": "/root/.cache/huggingface/hub/models--funnel-transformer--xlarge/snapshots/a57ed38432204c958ec9df4b8fc999176d10005e/special_tokens_map.json",
|
| 13 |
+
"strip_accents": null,
|
| 14 |
+
"tokenize_chinese_chars": true,
|
| 15 |
+
"tokenizer_class": "FunnelTokenizer",
|
| 16 |
+
"unk_token": "<unk>",
|
| 17 |
+
"wordpieces_prefix": "##"
|
| 18 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09d0ab0278efebce4c6d4e45c390c482fe0f2c2c227603bc0778ae2f6b894c49
|
| 3 |
+
size 3579
|
vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|