summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 06:50:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 06:50:53 +0000
commit8240835ea9a47c036216d937c30334773d460129 (patch)
tree62af361095dba5c7cfc9699003f2bc532a2e86c9
parent544ad43f4a10f7fffb8d482234683dfa4ab51411 (diff)
automatic import of python-Q-snippets-Qing25openeuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-q-snippets-qing25.spec300
-rw-r--r--sources1
3 files changed, 302 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6d61b93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Q-snippets-Qing25-0.0.8.tar.gz
diff --git a/python-q-snippets-qing25.spec b/python-q-snippets-qing25.spec
new file mode 100644
index 0000000..de7d59a
--- /dev/null
+++ b/python-q-snippets-qing25.spec
@@ -0,0 +1,300 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Q-snippets-Qing25
+Version: 0.0.8
+Release: 1
+Summary: My working code snippets
+License: MIT License
+URL: https://github.com/Qing25/Q-snippets
+Source0: https://mirrors.aliyun.com/pypi/web/packages/56/c3/7a89865fe630dc72bc277503e12df607c4cb3d14f313ea63cc81014329bd/Q-snippets-Qing25-0.0.8.tar.gz
+BuildArch: noarch
+
+
+%description
+# Q-snippets
+https://pypi.org/project/Q-snippets-Qing25/0.0.7/
+
+
+My working code snippets
+
+```python
+.
+├── 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 查看模型列表中保存到本地的情况
+
+
+%package -n python3-Q-snippets-Qing25
+Summary: My working code snippets
+Provides: python-Q-snippets-Qing25
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Q-snippets-Qing25
+# Q-snippets
+https://pypi.org/project/Q-snippets-Qing25/0.0.7/
+
+
+My working code snippets
+
+```python
+.
+├── 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 查看模型列表中保存到本地的情况
+
+
+%package help
+Summary: Development documents and examples for Q-snippets-Qing25
+Provides: python3-Q-snippets-Qing25-doc
+%description help
+# Q-snippets
+https://pypi.org/project/Q-snippets-Qing25/0.0.7/
+
+
+My working code snippets
+
+```python
+.
+├── 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 查看模型列表中保存到本地的情况
+
+
+%prep
+%autosetup -n Q-snippets-Qing25-0.0.8
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-Q-snippets-Qing25 -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.8-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..16e1628
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+408076f17d2f3c05e1a546f0c8e8072d Q-snippets-Qing25-0.0.8.tar.gz