Skip to content

Commit

Permalink
experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
riship committed Jan 31, 2025
1 parent aef2daf commit acff9e5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/llm/tech_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,8 @@ def train(args, data_lists):
drop_last=False, pin_memory=True, shuffle=False)
gnn = GAT(in_channels=768, hidden_channels=hidden_channels,
out_channels=1024, num_layers=num_gnn_layers, heads=4)
<<<<<<< HEAD
if args. llm_generator_mode == "full":
llm = LLM(model_name=args.llm_generator_name)
=======
if args.llm_generator_mode == "full":
llm = LLM(model_name=args.llm_generator_name, dtype=torch.float32)
>>>>>>> fe9a7002184a2f0395475130fac8602c03cc36c5
model = GRetriever(llm=llm, gnn=gnn)
elif args.llm_generator_mode == "lora":
llm = LLM(model_name=args.llm_generator_name, dtype=torch.float32)
Expand Down

0 comments on commit acff9e5

Please sign in to comment.