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_padding
dict2list
SegmentUtility
prepare_inputs
prepare_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 hashes)
Built Distribution
Close
Hashes for Q_snippets_Qing25-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80641194110bc641e87bb5b6c3b591c9f1a96e11e3a6a202003a95e0da88608b |
|
MD5 | 03f773645d983f2ea354eaa56f386c39 |
|
BLAKE2b-256 | 3315b23350db68ad3e2d83d27d0ff34b7177162dd3f247862a7416f38a7d589e |