Instructions to use hyperonym/xlm-roberta-longformer-large-16384 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hyperonym/xlm-roberta-longformer-large-16384 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="hyperonym/xlm-roberta-longformer-large-16384")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("hyperonym/xlm-roberta-longformer-large-16384") model = AutoModel.from_pretrained("hyperonym/xlm-roberta-longformer-large-16384", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from hyperonym/xlm-roberta-longformer-large-16384: direct link, hf CLI and curl.
- Browser
- Download file 1.33 kB
-
https://huggingface.co/hyperonym/xlm-roberta-longformer-large-16384/resolve/main/README.md
- Command line
-
hf download hf://hyperonym/xlm-roberta-longformer-large-16384/README.md
-
curl -L -o README.md https://huggingface.co/hyperonym/xlm-roberta-longformer-large-16384/resolve/main/README.md
1.33 kB
metadata
tags:
- generated_from_keras_callback
model-index:
- name: xlm-roberta-longformer-large-16384
results: []
license: mit
language:
- multilingual
- af
- am
- ar
- as
- az
- be
- bg
- bn
- br
- bs
- ca
- cs
- cy
- da
- de
- el
- en
- eo
- es
- et
- eu
- fa
- fi
- fr
- fy
- ga
- gd
- gl
- gu
- ha
- he
- hi
- hr
- hu
- hy
- id
- is
- it
- ja
- jv
- ka
- kk
- km
- kn
- ko
- ku
- ky
- la
- lo
- lt
- lv
- mg
- mk
- ml
- mn
- mr
- ms
- my
- ne
- nl
- 'no'
- om
- or
- pa
- pl
- ps
- pt
- ro
- ru
- sa
- sd
- si
- sk
- sl
- so
- sq
- sr
- su
- sv
- sw
- ta
- te
- th
- tl
- tr
- ug
- uk
- ur
- uz
- vi
- xh
- yi
- zh
xlm-roberta-longformer-large-16384
xlm-roberta-longformer is a multilingual Longformer initialized with XLM-RoBERTa's weights without further pretraining. It is intended to be fine-tuned on a downstream task.
| Model | attention_window | hidden_size | num_hidden_layers | model_max_length |
|---|---|---|---|---|
| base | 256 | 768 | 12 | 16384 |
| large | 512 | 1024 | 24 | 16384 |
Framework versions
- Transformers 4.26.0
- TensorFlow 2.11.0
- Tokenizers 0.13.2