Run this model with HF Jobs
Run Feng-cx/my-bert-model on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Feng-cx/my-bert-model. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Feng-cx/my-bert-model on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Feng-cx/my-bert-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Feng-cx/my-bert-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Feng-cx/my-bert-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Feng-cx/my-bert-model") model = AutoModelForMaskedLM.from_pretrained("Feng-cx/my-bert-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update Readme.md
Browse files123NLP学习使用transformers工具包,微调bert模型,实现文本分类任务(虚假新闻检测)。这是微调后的模型,可以直接使用transformers中的pipeline推理。12345NLP学习使用transformers工具包,微调bert模型,实现文本分类任务(虚假新闻检测)。这是微调后的模型,可以直接使用transformers中的pipeline推理。上传模型有问题:这是教程https://blog.csdn.net/u011426236/article/details/135880314
Readme.md+3-1