(chore) remove bloat

This commit is contained in:
ishaan-jaff 2023-11-15 17:52:57 -08:00
parent ef4e5b9636
commit 0e2811d878
3 changed files with 0 additions and 110 deletions

View file

@ -1,12 +0,0 @@
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-86XzBUa7ISDFCWYFUFc1bfuwoMPbG", "object": "chat.completion", "created": 1696571301, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "I'm sorry, but as an AI language model, my responses are generated based on pre-existing knowledge and do not have real-time access to the latest scientific discoveries. As a result, I cannot provide you with a summary of the most recent scientific findings. However, I am capable of providing general information on a wide range of scientific topics if you have any specific questions or interests."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 76, "total_tokens": 93}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-86XzBof0OA5JEEClaK9qGv1gHhAs8", "object": "chat.completion", "created": 1696571301, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "As an AI language model, I can provide you with a general overview of some recent scientific discoveries across various fields. However, please note that the summaries provided may not encompass every single discovery happening since scientific progress is a continuous and constantly evolving process. Here are a few of the notable recent scientific discoveries:\n\n1. Mars Rover Finds Evidence of Ancient Life: NASA's Mars Perseverance rover discovered rocks believed to be volcanic, containing possible signs of ancient microbial life on Mars. The samples collected from a crater could provide crucial insights into the planet's past habitability.\n\n2. Quantum Supremacy Achieved: Google's prototype quantum computer, Sycamore, achieved \"quantum supremacy,\" demonstrating calculations that are impossible for classical computers. This milestone brings a new era of computing possibilities and has the potential to impact cryptography and optimization problems.\n\n3. CRISPR Advancements: CRISPR gene-editing technology continues to make progress with new discoveries. Recent breakthroughs include high-precision gene editing techniques, expansion to new organisms, and potential therapies for genetic diseases.\n\n4. Black Hole Imaging: In 2019, the Event Horizon Telescope captured the first-ever direct image of a black hole, located at the center of the galaxy Messier 87. The image provided valuable insights into the nature and behavior of these enigmatic cosmic objects.\n\n5. Renewable Energy Innovations: Scientists and engineers are continuously working on improving renewable energy technologies. Recent advancements include highly efficient solar panels, next-generation wind turbines, and advancements in energy storage systems.\n\n6. COVID-19 Vaccines: Rapid development and deployment of COVID-19 vaccines emerged as a significant scientific achievement. Multiple vaccines, such as those developed by Pfizer-BioNTech, Moderna, and AstraZeneca, have been authorized for emergency use or full approval, contributing to global efforts in combating the pandemic.\n\n7. Artificial Intelligence Breakthroughs: Researchers continue to push the boundaries of artificial intelligence. Advancements include improved natural language processing models, reinforcement learning algorithms, and the development of AI systems for medical diagnosis and autonomous vehicles.\n\nThese are just a few examples of recent scientific discoveries and breakthroughs. Scientific research is a vast and diverse domain, with discoveries occurring across many fields, often on a daily basis."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 454, "total_tokens": 471}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-88APE6LBJebPYs1OkBdzaAiWr4yIc", "object": "chat.completion", "created": 1696957316, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "As an AI language model, I don't have real-time access to current news or the ability to browse the internet. Therefore, I'm unable to provide a summary of the latest scientific discoveries as they are constantly evolving. However, I can provide information on various scientific topics or answer specific questions you may have. If you would like information on a particular scientific discovery or topic, please let me know."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 80, "total_tokens": 97}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-88APEz1u9Dq2XDL3BIkfjspXQbP4J", "object": "chat.completion", "created": 1696957316, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "As an AI language model, I don't have access to real-time data or the ability to browse the internet. Hence, I cannot provide you with a summary of the latest scientific discoveries, as it would require up-to-date information. Scientific discoveries are constantly being made across various fields, including physics, chemistry, biology, medicine, and more. To stay updated on the latest scientific discoveries, I recommend referring to reputable scientific journals, news outlets, or websites that specialize in scientific communication and research."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 99, "total_tokens": 116}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-8DFcOk70rRNjtjhjZ5XnXy7mFViZZ", "object": "chat.completion", "created": 1698168992, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "As an AI language model, I cannot provide real-time updates on the latest scientific discoveries as my responses are based on pre-existing knowledge. However, I can offer a summary of prominent scientific discoveries from various fields up until now. If you are interested in a specific scientific field or topic, please let me know, and I'll be happy to provide more information."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 72, "total_tokens": 89}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-8DFcOhvi41mgdtH6WBVzGKWOVAvpG", "object": "chat.completion", "created": 1698168992, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "As an AI language model, I don't have direct access to real-time information or the ability to browse the internet. Therefore, I cannot provide you with the latest scientific discoveries. Scientific discoveries are constantly being made across various fields, including physics, chemistry, biology, medicine, and more. To stay up to date with the latest scientific breakthroughs, I recommend referring to reputable scientific journals or news outlets that cover recent scientific research."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 86, "total_tokens": 103}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-8DG44xxtT4lsAoVX1rHlC6CJaUjUK", "object": "chat.completion", "created": 1698170708, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "As an AI language model, I don't have real-time data or the ability to browse the internet. Therefore, I cannot provide information on the latest scientific discoveries. Discoveries and breakthroughs occur regularly in various fields of science, including biology, physics, chemistry, and more. To stay updated on the latest scientific discoveries, I recommend referring to reliable sources like scientific journals, news outlets, or university and research institute websites that cover recent scientific breakthroughs."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 91, "total_tokens": 108}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-8DG4449c5ZTIrzJ6s0eslGRib3Jw3", "object": "chat.completion", "created": 1698170708, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "As an AI language model, I don't have access to real-time information or the ability to browse the internet. Consequently, I cannot provide a summary of the very latest scientific discoveries. However, I can provide a general overview of some significant recent discoveries from various scientific fields that have been covered in the news. Keep in mind that these summaries are not exhaustive and may not include the most recent breakthroughs:\n\n1. Astrophysics: In April 2019, the Event Horizon Telescope captured the first-ever image of a black hole in the center of the galaxy Messier 87. This provided dramatic evidence supporting Einstein's theory of general relativity.\n\n2. Medicine: In November 2020, the Pfizer/BioNTech and Moderna COVID-19 vaccines were announced, marking significant progress in the fight against the global pandemic. Both vaccines utilize mRNA technology to stimulate an immune response to the virus.\n\n3. Quantum Computing: In October 2019, Google claimed to have achieved \"quantum supremacy\" by solving a calculation that would have taken the world's most powerful supercomputer thousands of years in just 200 seconds.\n\n4. Genetics: CRISPR-Cas9, a revolutionary gene-editing technology, has made significant strides in recent years. Researchers have successfully edited genes in human embryos to correct genetic mutations, opening up possibilities for treating otherwise incurable genetic diseases.\n\n5. Climate Change: Scientists have been studying the impacts of climate change and their consequences. Recent findings include increased melting of polar ice caps, rising sea levels, and the higher frequency and intensity of extreme weather events like hurricanes and heatwaves.\n\nPlease note that these summaries might not represent the most recent scientific discoveries in each field. Scientific advancements occur at a rapid pace, and it is best to refer to reputable scientific journals, news outlets, or academic sources for the most up-to-date information."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 373, "total_tokens": 390}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-8DHsKHZnQN3G40eCJrlM94FJp5bqo", "object": "chat.completion", "created": 1698177668, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "As an AI language model, I don't have direct access to real-time information or the ability to browse the internet. Thus, I can't provide a summary of the latest scientific discoveries. My responses are generated based on a mixture of licensed data, data created by human trainers, and publicly available data. So, I can provide general information about scientific discoveries, but I won't be familiar with specific, recent breakthroughs or studies. It's always best to refer to trusted scientific sources and news outlets for the most up-to-date information regarding the latest discoveries."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 112, "total_tokens": 129}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-8DHsKrhGvSMqWH6yUkfp3KoVpfkKM", "object": "chat.completion", "created": 1698177668, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "It is impossible for me to provide a summary of the latest scientific discoveries as they are constantly evolving and being published across various fields. However, some notable recent scientific findings include advancements in COVID-19 research and vaccinations, breakthroughs in quantum computing and artificial intelligence, progress in understanding climate change and its impacts, developments in medical treatments and gene editing technologies, and discoveries in space exploration and astronomy. These are just a few examples, and there are countless more scientific discoveries being made every day across different disciplines all over the world."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 104, "total_tokens": 121}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-8DJsFe4zsqCatn1MIuxEDwhq3VOVv", "object": "chat.completion", "created": 1698185351, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "As an AI language model, I don't have access to real-time data or the ability to browse the internet. Therefore, I cannot provide you with the latest scientific discoveries specifically. However, I can provide you with a summary of some recent scientific advancements across various fields. Please specify which field or area of scientific discovery you are interested in, and I'll be happy to provide a summary based on the available knowledge up until September 2021."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 89, "total_tokens": 106}}]
[{"model": "gpt-3.5-turbo-16k", "messages": [{"content": "Please provide a summary of the latest scientific discoveries.", "role": "user"}], "api_key": "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"}, {"id": "chatcmpl-8DJsFSxQ1FVmbF5LjoJw6GSXjEzec", "object": "chat.completion", "created": 1698185351, "model": "gpt-3.5-turbo-16k-0613", "choices": [{"index": 0, "message": {"role": "assistant", "content": "As an AI language model, I can provide a general summary of some notable scientific discoveries across various fields in recent times. However, please note that this summary may not reflect the very latest discoveries, as scientific research progress continuously and new findings are reported regularly. Here are a few noteworthy discoveries from disparate scientific disciplines:\n\n1. Astronomy: Gravitational waves were detected for the first time in 2015, confirming a prediction made by Albert Einstein in his theory of general relativity. This breakthrough opened up a new way to observe the Universe and study celestial objects that emit these waves.\n\n2. Genetics: The CRISPR-Cas9 gene-editing technique has revolutionized genetics and molecular biology. It allows scientists to edit DNA sequences with unprecedented precision, offering potential for treating genetic disorders, modifying crops, and advancing scientific research.\n\n3. Environmental Science: In recent years, research has provided substantial evidence for human-induced climate change, emphasizing the need to reduce greenhouse gas emissions. Studies continue to highlight the impacts of our actions on weather patterns, sea-level rise, and ecosystems worldwide.\n\n4. Particle Physics: In 2012, the discovery of the Higgs boson at the Large Hadron Collider (LHC) in CERN was a significant milestone. It confirmed the existence of the Higgs field and helped to validate the Standard Model, our current understanding of particle physics.\n\n5. Medicine: The development of mRNA-based COVID-19 vaccines, such as those from Pfizer-BioNTech and Moderna, has been a breakthrough in vaccine technology. This approach provides a new method for rapid vaccine development against emerging viruses.\n\n6. Neuroscience: Recent advancements in brain-computer interfaces (BCIs) have allowed researchers to develop devices that can translate neural activity into commands, enabling people with paralysis to control external devices like robotic arms through their thoughts.\n\nThese are just a few examples of scientific breakthroughs across different fields, and new discoveries are continually being made as research progresses in diverse scientific disciplines."}, "finish_reason": "stop"}], "usage": {"prompt_tokens": 17, "completion_tokens": 397, "total_tokens": 414}}]

View file

@ -1,62 +0,0 @@
# import sys
# import os
# import io
# #
# sys.path.insert(0, os.path.abspath('../..'))
# import litellm
# from litellm import completion
# from traceloop.sdk import Traceloop
# Traceloop.init(app_name="test_traceloop", disable_batch=True, traceloop_sync_enabled=False)
# litellm.success_callback = ["traceloop"]
# def test_traceloop_logging():
# try:
# print('making completion call')
# response = completion(
# model="claude-instant-1.2",
# messages=[
# {"role": "user", "content": "Tell me a joke about OpenTelemetry"}
# ],
# max_tokens=10,
# temperature=0.2,
# )
# print(response)
# except Exception as e:
# print(e)
# # test_traceloop_logging()
# def test_traceloop_tracing_function_calling():
# function1 = [
# {
# "name": "get_current_weather",
# "description": "Get the current weather in a given location",
# "parameters": {
# "type": "object",
# "properties": {
# "location": {
# "type": "string",
# "description": "The city and state, e.g. San Francisco, CA",
# },
# "unit": {"type": "string", "enum": ["celsius", "fahrenheit"]},
# },
# "required": ["location"],
# },
# }
# ]
# try:
# response = completion(
# model="gpt-3.5-turbo",
# messages=[{"role": "user", "content": "what's the weather in boston"}],
# temperature=0.1,
# functions=function1,
# )
# print(response)
# except Exception as e:
# print(e)
# # test_traceloop_tracing_function_calling()

View file

@ -1,36 +0,0 @@
import sys
import os
import io
sys.path.insert(0, os.path.abspath('../..'))
from litellm import completion
import litellm
litellm.success_callback = ["wandb"]
# litellm.set_verbose = True
import time
def test_wandb_logging():
try:
response = completion(model="claude-instant-1.2",
messages=[{
"role": "user",
"content": "Hi 👋 - i'm claude"
}],
max_tokens=10,
temperature=0.2
)
# print(response)
except Exception as e:
print(e)
test_wandb_logging()