You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

llama-cpp-python.yaml 983 B

123456789101112131415161718192021222324252627282930313233
  1. nodes:
  2. - id: pyarrow-sender
  3. build: pip install -e ../../node-hub/pyarrow-sender
  4. path: pyarrow-sender
  5. outputs:
  6. - data
  7. env:
  8. DATA: "Please only output: This is a test"
  9. - id: dora-llama-cpp-python
  10. build: pip install -e ../../node-hub/dora-llama-cpp-python
  11. path: dora-llama-cpp-python
  12. inputs:
  13. text: pyarrow-sender/data
  14. outputs:
  15. - text
  16. env:
  17. MODEL_NAME_OR_PATH: "TheBloke/Llama-2-7B-Chat-GGUF"
  18. MODEL_FILE_PATTERN: "*Q4_K_M.gguf"
  19. SYSTEM_PROMPT: "You're a very succinct AI assistant with short answers."
  20. ACTIVATION_WORDS: "what how who where you"
  21. MAX_TOKENS: "512"
  22. N_GPU_LAYERS: "35" # Enable GPU acceleration
  23. N_THREADS: "4" # CPU threads
  24. CONTEXT_SIZE: "4096" # Maximum context window
  25. - id: pyarrow-assert
  26. build: pip install -e ../../node-hub/pyarrow-assert
  27. path: pyarrow-assert
  28. inputs:
  29. data: dora-llama-cpp-python/text
  30. env:
  31. DATA: "This is a test"