jintinghou commited on
Commit
314677c
·
verified ·
1 Parent(s): 6111592

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +26 -0
README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 简单的Hugging Face测试仓库
2
+
3
+ 这是一个用于测试Hugging Face Pro账号的简单仓库。
4
+
5
+ ## 模型信息
6
+
7
+ - **模型类型**: 文本分类模型(示例)
8
+ - **用途**: 账号测试
9
+ - **创建日期**: 2025年6月24日
10
+
11
+ ## 使用方法
12
+
13
+ ```python
14
+ from transformers import pipeline
15
+
16
+ # 加载模型
17
+ classifier = pipeline("text-classification", model="your-username/your-model-name")
18
+
19
+ # 使用示例
20
+ result = classifier("这是一个测试文本")
21
+ print(result)
22
+ ```
23
+
24
+ ## 许可证
25
+
26
+ MIT License