My working code snippets
Project description
Q-snippets
https://pypi.org/project/Q-snippets-Qing25/0.0.7/
My working code snippets
.
├── q_snippets
│ ├── adversarial.py
│ ├── data.py
│ ├── __init__.py
│ ├── metrics.py
│ ├── object.py
│ ├── optim.py
│ ├── pretrains.py
│ └── tensor_ops.py
adversarial
- FGM
- PGD
objects
- RoPE
- CircleLoss
- FocalLoss
- TrainerProcess
- Config
- RNNWrapper
- MultiHeadAttnWrapper
data
- timeit
- save_json
- load_json
- load_yaml
- BaseData
- MRCSample
- MRCBatch
- load_data
- MRCDataset
- span_decode
- DataProcessor
- gen_uid
sequence_paddingdict2listSegmentUtilityprepare_inputsprepare_batch_inputs
optim
pass
metrics
pass
tensor_ops
- safesoftmax
- feature_transform
- select_span_rep
- select_func
- get_max_startend
- label_smoothing
- mean_pooling( seq_vecs, attention_mask)
Pretrains
- get_model_url 获得本地路径,本地没有则保存到本地后返回
- save_pretrains 查看模型列表中保存到本地的情况
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Q-snippets-Qing25-0.0.8.tar.gz
(36.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Q-snippets-Qing25-0.0.8.tar.gz.
File metadata
- Download URL: Q-snippets-Qing25-0.0.8.tar.gz
- Upload date:
- Size: 36.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12be9a1cebe4ab166a272cea1f4043d84dec22a789d6ae13bfcad1d8e7880dea
|
|
| MD5 |
408076f17d2f3c05e1a546f0c8e8072d
|
|
| BLAKE2b-256 |
56c37a89865fe630dc72bc277503e12df607c4cb3d14f313ea63cc81014329bd
|
File details
Details for the file Q_snippets_Qing25-0.0.8-py3-none-any.whl.
File metadata
- Download URL: Q_snippets_Qing25-0.0.8-py3-none-any.whl
- Upload date:
- Size: 40.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80641194110bc641e87bb5b6c3b591c9f1a96e11e3a6a202003a95e0da88608b
|
|
| MD5 |
03f773645d983f2ea354eaa56f386c39
|
|
| BLAKE2b-256 |
3315b23350db68ad3e2d83d27d0ff34b7177162dd3f247862a7416f38a7d589e
|