Instructions to use Weiheng/ProductCodeGeneration_BERT_Share with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Weiheng/ProductCodeGeneration_BERT_Share with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Weiheng/ProductCodeGeneration_BERT_Share") model = AutoModelForSeq2SeqLM.from_pretrained("Weiheng/ProductCodeGeneration_BERT_Share") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This is a BERT_SHARE model, finetuned for the task "Product Code Generation".
|
| 2 |
+
|
| 3 |
+
Model Structure: Encoder-Decoder, warm started by BERT-multi-cased.
|
| 4 |
+
Language: Chinese
|
| 5 |
+
Tokenizer: bert-base-multilingual-cased
|
| 6 |
+
|
| 7 |
+
Example: "预售【巴布豆童鞋店】春秋季新品小白鞋百搭休闲鞋 BX22561 尺码:33/适合脚长约20.3 尺码:33/适合脚长约20.3 货号:BX22561 " --> "BX22561"
|