Instructions to use A-Funakoshi/sample-text-classification-bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use A-Funakoshi/sample-text-classification-bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="A-Funakoshi/sample-text-classification-bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("A-Funakoshi/sample-text-classification-bert") model = AutoModelForSequenceClassification.from_pretrained("A-Funakoshi/sample-text-classification-bert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download ReadMe.md from A-Funakoshi/sample-text-classification-bert: direct link, hf CLI and curl.
- Browser
- Download file 152 Bytes
-
https://huggingface.co/A-Funakoshi/sample-text-classification-bert/resolve/refs%2Fpr%2F1/ReadMe.md
- Command line
-
hf download hf://A-Funakoshi/sample-text-classification-bert@refs/pr/1/ReadMe.md
-
curl -L -o ReadMe.md https://huggingface.co/A-Funakoshi/sample-text-classification-bert/resolve/refs%2Fpr%2F1/ReadMe.md
152 Bytes
| 以下のサイトで紹介されている訓練を実行したもの | |
| - https://dev.classmethod.jp/articles/huggingface-jp-text-classification/#toc-17 | |