thanakritbright/dataset_checker
收藏Hugging Face2024-05-10 更新2024-06-12 收录
下载链接:
https://hf-mirror.com/datasets/thanakritbright/dataset_checker
下载链接
链接失效反馈官方服务:
资源简介:
---
license: unknown
task_categories:
- text-classification
language:
- th
tags:
- code
size_categories:
- 1K<n<10K
---
from transformers import pipeline
# สร้างตัวดำเนินการสำหรับการจำแนกประเภทข้อความ
classifier = pipeline("text-classification")
# ทำนายประเภทข้อความ
result = classifier("This is a text to classify")
print(result)
提供机构:
thanakritbright
原始信息汇总
数据集概述
基本信息
- 许可证: 未知
- 任务类别: 文本分类
- 语言: 泰语(th)
- 标签: 代码
- 大小类别: 1K<n<10K
使用示例
- 使用
transformers库中的pipeline函数创建文本分类器。 - 示例代码展示了如何使用该分类器对文本进行分类预测。



