Instructions to use nono1224/b3comp-luke-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nono1224/b3comp-luke-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nono1224/b3comp-luke-1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nono1224/b3comp-luke-1") model = AutoModelForSequenceClassification.from_pretrained("nono1224/b3comp-luke-1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse filesFiles changed (3)
123version https://git-lfs.github.com/spec/v1oid sha256:d8b73a5e054936c920cf5b7d1ec21ce9c281977078269963beb821c6c86fbff7size 841889123version https://git-lfs.github.com/spec/v1oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865size 5069051
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495{"additional_special_tokens": [{"content": "<ent>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},{"content": "<ent2>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},{"content": "<ent>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},{"content": "<ent2>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},{"content": "<ent>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false},{"content": "<ent2>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false}],"bos_token": {"content": "<s>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},"cls_token": {"content": "<s>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},"eos_token": {"content": "</s>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},"mask_token": {"content": "<mask>","lstrip": true,"normalized": true,"rstrip": false,"single_word": false},"pad_token": {"content": "<pad>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},"sep_token": {"content": "</s>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},"unk_token": {"content": "<unk>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false}}123456789101112131415{"bos_token": "<s>","cls_token": "<s>","eos_token": "</s>","mask_token": {"content": "<mask>","lstrip": true,"normalized": false,"rstrip": false,"single_word": false},"pad_token": "<pad>","sep_token": "</s>","unk_token": "<unk>"}
31 unmodified lines323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410531 unmodified lines"single_word": false,"special": true},"32769": {"content": "<mask>","lstrip": true,"normalized": true,"rstrip": false,"single_word": false,"special": true},"32770": {"content": "<ent>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false,"special": true},"32771": {"content": "<ent2>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false,"special": true}},"additional_special_tokens": ["<ent>","<ent2>","<ent>","<ent2>","<ent>","<ent2>"],"bos_token": "<s>","clean_up_tokenization_spaces": false,"cls_token": "<s>","entity_mask2_token": "[MASK2]","entity_mask_token": "[MASK]","entity_pad_token": "[PAD]","entity_token_1": {"__type": "AddedToken","content": "<ent>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false,"special": false},"entity_token_2": {"__type": "AddedToken","content": "<ent2>","lstrip": false,"normalized": true,"rstrip": false,"single_word": false,"special": false},"entity_unk_token": "[UNK]","eos_token": "</s>","extra_special_tokens": {},"mask_token": "<mask>","max_entity_length": 32,"max_mention_length": 30,"model_max_length": 512,"pad_token": "<pad>","sep_token": "</s>","sp_model_kwargs": {},"task": null,"tokenizer_class": "MLukeTokenizer","unk_token": "<unk>"}31 unmodified lines32333435363738394041424344454647484950515253545531 unmodified lines"single_word": false,"special": true},"250001": {"content": "<mask>","lstrip": true,"normalized": false,"rstrip": false,"single_word": false,"special": true}},"bos_token": "<s>","clean_up_tokenization_spaces": false,"cls_token": "<s>","eos_token": "</s>","extra_special_tokens": {},"mask_token": "<mask>","model_max_length": 512,"pad_token": "<pad>","sep_token": "</s>","tokenizer_class": "XLMRobertaTokenizer","unk_token": "<unk>"}
sentencepiece.bpe.model+2-2
special_tokens_map.json+6-86
tokenizer_config.json+3-53