Instructions to use SecurityXuanwuLab/HaS-820m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SecurityXuanwuLab/HaS-820m with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SecurityXuanwuLab/HaS-820m") model = AutoModelForCausalLM.from_pretrained("SecurityXuanwuLab/HaS-820m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -19,6 +19,11 @@ pipeline_tag: other
|
|
| 19 |
## 介绍
|
| 20 |
Hide-and-Seek是一个由腾讯安全玄武实验室开发1的中英双语隐私保护框架。本框架由hide与seek两个子任务组成,其中hide负责将用户输入中的敏感实体词替换为其他随机实体(加密),seek负责将输出中被替换掉的部分还原以对应原文本(解密)。此仓库是我们的社区开源版本,模型以[bloom-1.1b](https://huggingface.co/bigscience/bloom-1b1)为底模,经过词表裁剪和微调后得到。
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
<iframe width="100%" height="370vh" frameborder="0" src="https://v.qq.com/txp/iframe/player.html?vid=s3530zas783" allowFullScreen="true"></iframe>
|
| 23 |
|
| 24 |
<iframe width="100%" height="370vh" frameborder="0" src="https://v.qq.com/txp/iframe/player.html?vid=r3530wjusjm" allowFullScreen="true"></iframe>
|
|
|
|
| 19 |
## 介绍
|
| 20 |
Hide-and-Seek是一个由腾讯安全玄武实验室开发1的中英双语隐私保护框架。本框架由hide与seek两个子任务组成,其中hide负责将用户输入中的敏感实体词替换为其他随机实体(加密),seek负责将输出中被替换掉的部分还原以对应原文本(解密)。此仓库是我们的社区开源版本,模型以[bloom-1.1b](https://huggingface.co/bigscience/bloom-1b1)为底模,经过词表裁剪和微调后得到。
|
| 21 |
|
| 22 |
+
<video controls width="500">
|
| 23 |
+
<source src="https://v.qq.com/txp/iframe/player.html?vid=s3530zas783" type="video/mp4">
|
| 24 |
+
Your browser does not support the video tag.
|
| 25 |
+
</video>
|
| 26 |
+
|
| 27 |
<iframe width="100%" height="370vh" frameborder="0" src="https://v.qq.com/txp/iframe/player.html?vid=s3530zas783" allowFullScreen="true"></iframe>
|
| 28 |
|
| 29 |
<iframe width="100%" height="370vh" frameborder="0" src="https://v.qq.com/txp/iframe/player.html?vid=r3530wjusjm" allowFullScreen="true"></iframe>
|