Upload folder using huggingface_hub
Browse files- README.md +1 -3
- inference.py +1 -1
README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
|
2 |
---
|
3 |
-
task:
|
4 |
-
name: TokenClassification
|
5 |
-
type: token-classification
|
6 |
widget:
|
7 |
- text: "Hello, this is a test of my BPE tokenizer."
|
8 |
example_title: "英文分词示例"
|
|
|
1 |
|
2 |
---
|
3 |
+
task: token-classification
|
|
|
|
|
4 |
widget:
|
5 |
- text: "Hello, this is a test of my BPE tokenizer."
|
6 |
example_title: "英文分词示例"
|
inference.py
CHANGED
@@ -44,4 +44,4 @@ pipeline = TokenizerPipeline(tokenizer=tokenizer)
|
|
44 |
|
45 |
# 可选:添加类型提示供HF解析
|
46 |
def get_pipeline() -> Pipeline:
|
47 |
-
return pipeline
|
|
|
44 |
|
45 |
# 可选:添加类型提示供HF解析
|
46 |
def get_pipeline() -> Pipeline:
|
47 |
+
return pipeline
|