Skip to content

Commit

Permalink
pass all pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lwaekfjlk committed May 9, 2024
1 parent 2d9c9f7 commit cdd0b3d
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 12 deletions.
12 changes: 7 additions & 5 deletions research_town/agent_base.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import datetime
import requests
from typing import Any, Dict, List
from xml.etree import ElementTree
from typing import List, Dict, Any

import requests

from .utils import (
summarize_research_direction,
bfs,
generate_ideas,
get_bert_embedding,
summarize_research_direction,
summarize_research_field,
generate_ideas,
bfs,
)


Expand Down
1 change: 1 addition & 0 deletions research_town/env_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Dict

from .agent_base import BaseResearchAgent
from .kb_base import BaseKnowledgeBase

Expand Down
1 change: 1 addition & 0 deletions research_town/env_paper_rebuttal.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Dict

from .env_base import BaseMultiAgentEnv


Expand Down
1 change: 1 addition & 0 deletions research_town/env_paper_submission.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Dict

from .env_base import BaseMultiAgentEnv


Expand Down
1 change: 1 addition & 0 deletions research_town/kb_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Dict, List

from .utils import get_daily_papers


Expand Down
15 changes: 8 additions & 7 deletions research_town/utils.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
import os
import json
import datetime
import openai
import json
import os
import time
from typing import Any, Dict, List, Tuple

import arxiv
import faiss
from transformers import BertTokenizer, BertModel
import openai
import torch
import arxiv
from tqdm import tqdm
from typing import Dict, List, Tuple, Any
from arxiv import Client, Search
from tqdm import tqdm
from transformers import BertModel, BertTokenizer

KEY = "7a1821d4e4a3e41e3d523e97e0fd8950dedac2824aef99cb19d550500cb21a42"
openai.api_base = "https://api.together.xyz"
Expand Down

0 comments on commit cdd0b3d

Please sign in to comment.