Skip to content

Instantly share code, notes, and snippets.

View jxzhangjhu's full-sized avatar
🎯
Focusing

Jiaxin Zhang jxzhangjhu

🎯
Focusing
  • Mountain View
  • 09:36 (UTC -07:00)
View GitHub Profile
@jxzhangjhu
jxzhangjhu / dispatch_openai_requests.py
Created November 9, 2023 01:06 — forked from neubig/dispatch_openai_requests.py
A simple script to get results from the OpenAI Asynchronous API
# NOTE:
# You can find an updated, more robust and feature-rich implementation
# in Zeno Build
# - Zeno Build: https://github.com/zeno-ml/zeno-build/
# - Implementation: https://github.com/zeno-ml/zeno-build/blob/main/zeno_build/models/providers/openai_utils.py
import openai
import asyncio
from typing import Any

mainly record pytorch implementations for NLI and similarity computing

REPOSITORY REFERENCE
baidu/SimNet SEVERAL
NTSC-Community/awaresome-neural-models-for-semantic-match SEVERAL
lanwuwei/SPM_toolkit:
 ①DecAtt
 ②ESIM
 ③PWIM
 ④SSE
Neural Network Models for Paraphrase Identification, Semantic Textual Similarity, Natural Language Inference, and Question Answering
MatchZoo (Keras Implementation):
 ①DSSM
 ②CDSSM
 ③ARC-I
 ④ARC-II
 ⑤MV-LSTM
 ⑥DRMM
 ⑦K-NRM
 ⑧CONV-KNRM
 ⑨DRMM-TKS
 ⑩BiMPM
 ...
MatchZoo: A Toolkit for Deep Text Matching
...
[likejazz/Si