first commit

This commit is contained in:
xxl 2024-11-12 10:19:40 +08:00
parent 5f6a910982
commit e70ecb99e2
6 changed files with 1000249 additions and 0 deletions

34
config.json Normal file
View File

@ -0,0 +1,34 @@
{
"_name_or_path": "xlm-roberta-large",
"architectures": [
"XLMRobertaForSequenceClassification"
],
"attention_probs_dropout_prob": 0.1,
"bos_token_id": 0,
"classifier_dropout": null,
"eos_token_id": 2,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 1024,
"id2label": {
"0": "LABEL_0"
},
"initializer_range": 0.02,
"intermediate_size": 4096,
"label2id": {
"LABEL_0": 0
},
"layer_norm_eps": 1e-05,
"max_position_embeddings": 514,
"model_type": "xlm-roberta",
"num_attention_heads": 16,
"num_hidden_layers": 24,
"output_past": true,
"pad_token_id": 1,
"position_embedding_type": "absolute",
"torch_dtype": "float32",
"transformers_version": "4.30.0",
"type_vocab_size": 1,
"use_cache": true,
"vocab_size": 250002
}

BIN
model.safetensors (Stored with Git LFS) Normal file

Binary file not shown.

BIN
sentencepiece.bpe.model (Stored with Git LFS) Normal file

Binary file not shown.

15
special_tokens_map.json Normal file
View File

@ -0,0 +1,15 @@
{
"bos_token": "<s>",
"cls_token": "<s>",
"eos_token": "</s>",
"mask_token": {
"content": "<mask>",
"lstrip": true,
"normalized": true,
"rstrip": false,
"single_word": false
},
"pad_token": "<pad>",
"sep_token": "</s>",
"unk_token": "<unk>"
}

1000174
tokenizer.json Normal file

File diff suppressed because one or more lines are too long

20
tokenizer_config.json Normal file
View File

@ -0,0 +1,20 @@
{
"bos_token": "<s>",
"clean_up_tokenization_spaces": true,
"cls_token": "<s>",
"eos_token": "</s>",
"mask_token": {
"__type": "AddedToken",
"content": "<mask>",
"lstrip": true,
"normalized": true,
"rstrip": false,
"single_word": false
},
"model_max_length": 512,
"pad_token": "<pad>",
"sep_token": "</s>",
"sp_model_kwargs": {},
"tokenizer_class": "XLMRobertaTokenizer",
"unk_token": "<unk>"
}