C2NET-BETA
PYPI package for c2net-beta
使用说明安装
- 虎鲸平台提供使用代码,数据集,模型示例
安装
适配python3.6及以上版本
PYPI package for C2NET-BETA。
pip3 install -U c2net
或
pip3 install c2net==版本号 -i https://pypi.tuna.tsinghua.edu.cn/simple
云脑资源初始化与上传,获取路径示例:
#导入包
from c2net.context import prepare, upload_output
#初始化导入数据集和预训练模型到容器内
c2net_context = prepare()
#获取代码路径, 数据集路径,预训练模型路径,输出路径
code_path = c2net_context.code_path
dataset_path = c2net_context.dataset_path
pretrain_model_path = c2net_context.pretrain_model_path
you_must_save_here = c2net_context.output_path
#回传结果到c2net
upload_output()
在启智平台上的使用示例
Metadata
Release files for c2net 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| c2net-0.2.0.tar.gz | 8.7 kB | Without provenance | Details for c2net-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| c2net-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for c2net-0.2.0-py3-none-any.whl |
Total release size: 18.9 kB
Release files / c2net-0.2.0.tar.gz
| Download URL | c2net-0.2.0.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
658569938fa60a9795fe40001032ca9613410fa38cb03b695d610fe3253a3a80
|
|
BLAKE2b-256 checksum How to use checksums |
1f68c6a3cd08e0b29da94acd3ee48c6ce972ea08ade007985ddea6146f570e52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Release files / c2net-0.2.0-py3-none-any.whl
| Download URL | c2net-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2fbdc39119d600c1dcfef9445b83fdb0e0bbaa29619a70f72bc4111992b4eb0
|
|
BLAKE2b-256 checksum How to use checksums |
2d50738368184cd06d3c54ee49a101923d88e889dcde94fa34decfd8fd27c1e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Security for c2net 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.