jeanlee/kmhas_korean_hate_speech
Viewer β’ Updated β’ 110k β’ 489 β’ 24
Run Tolerblanc/klue-bert-finetuned 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:
Use HF Jobs to fine-tune https://huggingface.co/Tolerblanc/klue-bert-finetuned. 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.
Use HF Jobs to run batch inference with https://huggingface.co/Tolerblanc/klue-bert-finetuned 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.
How to use Tolerblanc/klue-bert-finetuned with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Tolerblanc/klue-bert-finetuned") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Tolerblanc/klue-bert-finetuned")
model = AutoModelForSequenceClassification.from_pretrained("Tolerblanc/klue-bert-finetuned", device_map="auto")K-urse_Detection_with_BERT : Korean Cursing expression Detection with fine-tuned klue_BERT
This is the KWU "text mining" output for the first semester of 2023.
See Project Overview Here! : Notion(Korean)
See this model on GitHub : Link
| Model/Metric | Accuracy | Precision | Recall | F1 Score |
|---|---|---|---|---|
| Comparison(Electra base) | 0.81 | 0.69 | 0.87 | 0.77 |
| klue-BERT base(Our best result) | 0.83 | 0.76** | 0.75 | 0.75 |
| Model/Metric | Accuracy | Precision | Recall | F1 Score |
|---|---|---|---|---|
| Comparison(Electra base) | 0.77 | 0.52 | 0.90 | 0.66 |
| klue-BERT base(Our best result) | 0.89 | 0.75 | 0.80 | 0.78 |
Try Demo Here! Go to HuggingFace Space