Closed starlitsky2010 closed 4 months ago
hi, same problem. in neuron_viewer/src/requests/paths.ts try this:
export function getActivationServerUrl(): string {
if (process.env.NEURON_VIEWER_ACTIVATION_SERVER_URL) {
return process.env.NEURON_VIEWER_ACTIVATION_SERVER_URL;
}
return "http://localhost:8000";
}
#change 0.0.0.0 into localhost
maybe you're using a school/company's internet
NEURON_VIEWER_ACTIVATION_SERVER_URL=http://localhost:8005
probably works too
hi, same problem. in neuron_viewer/src/requests/paths.ts try this:
export function getActivationServerUrl(): string { if (process.env.NEURON_VIEWER_ACTIVATION_SERVER_URL) { return process.env.NEURON_VIEWER_ACTIVATION_SERVER_URL; } return "http://localhost:8000"; } #change 0.0.0.0 into localhost
maybe you're using a school/company's internet
This doesn't work by my side. Running the client browser on host machine leads no bug.
Hi OpenAI guys,
I also met this problem:
Step 1:
transformer-debugger$ export export OPENAI_API_KEY=sk-xxxxx
transformer-debugger$ python neuron_explainer/activation_server/main.py --model_name gpt2-small --port 8005
Step 2:transformer-debugger/neuron_viewer$ NEURON_VIEWER_ACTIVATION_SERVER_URL=http://10.0.80.43:8005 npm start
Server running at http://localhost:1234 ✨ Built in 9.41s
Visit http://10.0.80.43:1234/, it prints:
Neuron viewer Loading...
Visit http://10.0.80.43:1234/gpt2-small/tdb_alpha
An error occurs: Error: Unable to look up model info. Are you sure you're running an activation server for this dataset? Current URL: http://10.0.80.43:8005
I didn't know why it always goes error here.
Thanks