Instructions to use ultraleow/cloud4bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ultraleow/cloud4bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ultraleow/cloud4bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ultraleow/cloud4bert") model = AutoModelForSequenceClassification.from_pretrained("ultraleow/cloud4bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files8 unmodified lines910111213141587 unmodified lines1031041051061071081091101118 unmodified linespipeline_tag: text-classification---# DistilBERT base model (uncased)This model is a specialised version of the [BERT base model](https://huggingface.co/ultraleow/cloud4bert). The code for the training process will be uploaded[here](https://huggingface.co/ultraleow/cloud4bert/). This model is uncased: it does not make a difference between english and English.87 unmodified lines| Task | Recall(Weighted) | Precision(Weighted) | f1(Weighted) | ACC ||:----:|:----:|:----:|:----:|:-----:|| | 94.03% | 94.06% | 94.02% | 94.03% |<a href="https://huggingface.co/exbert/?model=distilbert-base-uncased"><img width="300px" src="https://cdn-media.huggingface.co/exbert/button.png"></a>8 unmodified lines910111213141587 unmodified lines1031041058 unmodified linespipeline_tag: text-classification---# Cloud4bertThis model is a specialised version of the [BERT base model](https://huggingface.co/ultraleow/cloud4bert). The code for the training process will be uploaded[here](https://huggingface.co/ultraleow/cloud4bert/). This model is uncased: it does not make a difference between english and English.87 unmodified lines| Task | Recall(Weighted) | Precision(Weighted) | f1(Weighted) | ACC ||:----:|:----:|:----:|:----:|:-----:|| | 94.03% | 94.06% | 94.02% | 94.03% |
README.md+1-7