Commit
·
edfc1d1
1
Parent(s):
31d9e69
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- ja
|
| 4 |
-
license:
|
| 5 |
library_name: transformers
|
| 6 |
tags:
|
| 7 |
- fastText
|
|
@@ -13,12 +13,13 @@ widget:
|
|
| 13 |
example_title: "ワンピース"
|
| 14 |
---
|
| 15 |
# fasttext-classification
|
| 16 |
-
fastText word vector base
|
| 17 |
## Reference
|
| 18 |
- fastText </br>
|
| 19 |
https://github.com/facebookresearch/fastText
|
| 20 |
- word vector data </br>
|
| 21 |
https://dl.fbaipublicfiles.com/fasttext/vectors-crawl/cc.ja.300.vec.gz
|
|
|
|
| 22 |
## Usage
|
| 23 |
Google Colaboratory Example
|
| 24 |
```
|
|
@@ -33,4 +34,12 @@ p = pipeline("zero-shot-classification", "paulhindemith/fasttext-classification"
|
|
| 33 |
```
|
| 34 |
```
|
| 35 |
p("海賊王におれはなる", candidate_labels=["海","山","陸"], hypothesis_template="{}", multi_label=True)
|
| 36 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- ja
|
| 4 |
+
license: cc-by-sa-3.0
|
| 5 |
library_name: transformers
|
| 6 |
tags:
|
| 7 |
- fastText
|
|
|
|
| 13 |
example_title: "ワンピース"
|
| 14 |
---
|
| 15 |
# fasttext-classification
|
| 16 |
+
fastText word vector base classification
|
| 17 |
## Reference
|
| 18 |
- fastText </br>
|
| 19 |
https://github.com/facebookresearch/fastText
|
| 20 |
- word vector data </br>
|
| 21 |
https://dl.fbaipublicfiles.com/fasttext/vectors-crawl/cc.ja.300.vec.gz
|
| 22 |
+
|
| 23 |
## Usage
|
| 24 |
Google Colaboratory Example
|
| 25 |
```
|
|
|
|
| 34 |
```
|
| 35 |
```
|
| 36 |
p("海賊王におれはなる", candidate_labels=["海","山","陸"], hypothesis_template="{}", multi_label=True)
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## License
|
| 40 |
+
This model utilizes the folllowing pretrained vectors.
|
| 41 |
+
|
| 42 |
+
Name: fastText
|
| 43 |
+
Credit: https://fasttext.cc/
|
| 44 |
+
License: [Creative Commons Attribution-Share-Alike License 3.0](https://creativecommons.org/licenses/by-sa/3.0/)
|
| 45 |
+
Link: https://dl.fbaipublicfiles.com/fasttext/vectors-wiki/wiki.ja.vec
|