Instructions to use marcellopoliti/remote-sensing-distilbert-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use marcellopoliti/remote-sensing-distilbert-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="marcellopoliti/remote-sensing-distilbert-cased")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("marcellopoliti/remote-sensing-distilbert-cased") model = AutoModelForMaskedLM.from_pretrained("marcellopoliti/remote-sensing-distilbert-cased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
RemoteSensing Distilbert
The field of earth observation is increasingly growing. More and more data scientists are interested about this domain, and they're developing computer vision applications that do amazing things, while NLP doesn't seem to be given much consideration in this area That's why I posted Chramer/remote-sensing-distilbert-cased. This is masked language model trained on a corpus of technical information about space missions, instruments, and sensors.
The model is based on distilbert-base-cased, but I didn't have the chance to play with the hyperparameters of the model because of the limited computational capabilities I have. So there's a lot to improve! ๐
It was fun to publish my first model on hugging face! ๐คฉ
Author: Marcello Politi (Twitter ๐ฆ ,LinkedIn ๐ผ).
Perplexity
Test set: 4.5k sentences about technical space stuff.
| Model | Perplexity |
|---|---|
| remote-sensing-distilbert-cased | 6.45 |
| distilbert-base-cased | 33.77 |
Usage
from transformers import AutoModel, AutoTokenizer
model_name = "Chramer/remote-sensing-distilbert-cased"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
- Downloads last month
- 7