This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import random | |
import sys | |
from transformers import AutoModelForCausalLM, AutoTokenizer, DynamicCache | |
import torch | |
parser = argparse.ArgumentParser() | |
parser.add_argument("question", type=str) | |
parser.add_argument( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (TARGET tinyusb_device) | |
add_executable(hello_usb | |
hello_usb.c | |
) | |
# Pull in our pico_stdlib which aggregates commonly used features | |
target_link_libraries(hello_usb pico_stdlib) | |
# enable usb output, disable uart output | |
pico_enable_stdio_usb(hello_usb 1) |