User Tools

Site Tools


ollama_llm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ollama_llm [2024/04/25 17:24]
jpummil
ollama_llm [2024/04/27 02:59] (current)
jpummil
Line 12: Line 12:
 </code> </code>
  
-Once you are logged in to your session, you need to determine which LLM model you wish to use for the session. More information about the various models can be seen here: https://ollama.com/library+You need to determine which LLM model you wish to use for the query. More information about the various models can be seen here: https://ollama.com/library
 To see the available models: To see the available models:
  
 <code> <code>
 $ ollama-ahpcc list $ ollama-ahpcc list
 +
 NAME                            ID          SIZE  MODIFIED      NAME                            ID          SIZE  MODIFIED     
 all-minilm:latest              1b226e2802db 45 MB 3 weeks ago  all-minilm:latest              1b226e2802db 45 MB 3 weeks ago
Line 48: Line 49:
  
 <code> <code>
-ollama run llama3 Please list in JSON format the names, state capitols, and populations of all 50 US states+ollama-ahpcc run llama3 Please list in JSON format the names, state capitols, and populations of all 50 US states
  
 Here is the list of 50 US states with their names, state capitals, and populations in JSON format: Here is the list of 50 US states with their names, state capitals, and populations in JSON format:
Line 76: Line 77:
  
 <code> <code>
-ollama run llama3 Please list all 50 US states >> states.txt+ollama-ahpcc run llama3 Please list all 50 US states >> states.txt
 </code> </code>
  
Line 82: Line 83:
  
 <code> <code>
-ollama run llama3 "$(cat nas.f90)" Please provide a brief summary of the file+ollama-ahpcc run llama3 "$(cat nas.f90)" Please provide a brief summary of the file
  
 This is a Fortran code file, specifically a main program and subroutine for solving a partial differential  This is a Fortran code file, specifically a main program and subroutine for solving a partial differential 
Line 107: Line 108:
  
 <code> <code>
-ollama run llama3 "$(head -n 1000 3nir.pdb)" Please provide a brief summary of the file+ollama-ahpcc run llama3 "$(head -n 1000 3nir.pdb)" Please provide a brief summary of the file
  
 This appears to be a PDB (Protein Data Bank) file, which contains structural information about a protein or  This appears to be a PDB (Protein Data Bank) file, which contains structural information about a protein or 
ollama_llm.1714065845.txt.gz · Last modified: 2024/04/25 17:24 by jpummil