-
在之前的工作中,我使用fairseq.logging.meters.StopwatchMeter 计NMT预测时间、KNN检索时间,大概是这样的流程:
```python
timerNMT.start()
x = NMTModel(input)
timerNMT.stop()
timerKNN.start()
knn_retrieve(x)
timerKNN.stop()
```
…
-
您好,我在运行vanilla-knn-mt/inference.sh脚本后,在加载模型时出现了错误:
![53BEE0C2-6E30-4acd-8C00-A5DE6FC55474](https://github.com/NJUNLP/knn-box/assets/43235349/8e8ebc6a-3519-470f-9c0e-e487df703a63)
这是我的运行脚本:
![image]…
-
Hi Celltypist,
Thanks for developing this amazing package!
First, I proceed the data by Scanpy and Harmony with log-normalization.
```python
sc.pp.normalize_total(adata, target_sum=1e4)
sc.pp.l…
-
**Is your feature request related to a problem? Please describe.**
Some users may have issues installing pycaret.
**Describe the solution you'd like**
Would it make sense to release a docker ima…
-
The hyperparameters attached to `extract` entries are incorrect for the models from the initial grid.
``` r
library(tidymodels)
set.seed(8825)
mt_knn_bo %
collect_extracts()
#> # A tibble:…
-
[27.07.2023 12:17:50] jasiu-rozowyczlowiek
-
Dear All,
Thank you very much first and foremost for your continuing work on this marvelous piece of software!
I took the chance to test drive the new FragPipe version v22.0 with a single phos…
-
[27.07.2023 11:54:43] jasiu-rozowyczlowiek:
speeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee…
-
https://mp.weixin.qq.com/s/WQdaPedEwmREgx6wgEhaqQ
ixxmu updated
5 months ago
-
参考您在Issue #1 中安装的2.3.1版sacrebleu:
参考sacrebleu仓库的tokenizers模块,以及文件夹下的__init__.py,其中确实没有TOKENIZERS的定义。
报错的代码在RevisedKey-knn-mt/fairseq/scoring/tokenizer.py中