Token Classification
GLiNER
PyTorch
multilingual
NER
GLiNER
information extraction
encoder
entity recognition
Ihor commited on
Commit
34a0b4b
·
verified ·
1 Parent(s): d05dd44

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -82,7 +82,7 @@ import torch
82
 
83
  model = GLiNER.from_pretrained("knowledgator/gliner-llama-1B-v1.0",
84
  _attn_implementation = 'flash_attention_2',
85
- max_len = 2048).to('cuda:0', dtype=torch.float16)
86
  ```
87
 
88
 
 
82
 
83
  model = GLiNER.from_pretrained("knowledgator/gliner-llama-1B-v1.0",
84
  _attn_implementation = 'flash_attention_2',
85
+ max_length = 2048).to('cuda:0', dtype=torch.float16)
86
  ```
87
 
88