Downloads · 30 days
13
11% of all-time downloads
wenh06/numbda-webnews
numbda-webnews is a text classification model from wenh06. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
numbda-webnews is a news classification model fine-tuned from roberta-base-finetuned-ifeng-chinese with a new dataset of approximately 40k news articles crawled from news websites in China.
Downloads · 30 days
13
11% of all-time downloads
All-time downloads
117
Public
Repo size
818 MB
Likes
0
Public
Click a slice to open those files.
.bin409 MB · 100%
From the Hugging Face model README
numbda-webnewsnumbda-webnews is a news classification model fine-tuned from roberta-base-finetuned-ifeng-chinese with a new dataset of approximately 40k news articles crawled from news websites in China.
The dataset contains (not limited to) the following 14 categories:
The above 14 categories have a total of 26k samples.
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
# "wenh06/numbda-webnews" can be replaced with local path to the model directory
tokenizer = AutoTokenizer.from_pretrained("wenh06/numbda-webnews")
model = AutoModelForSequenceClassification.from_pretrained("wenh06/numbda-webnews")
pipeline = pipeline("text-classification", model=model, tokenizer=tokenizer)
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
This model was fine-tuned using a new dataset of approximately 40k news articles crawled from news websites in China, which would be released latter some time.
Evaluation results and software/hardware information can be found in Weights & Biases.