Amritpal Singh commited on
Commit
4d92cf9
·
1 Parent(s): 854ddfc

Initial commit of DeepSeek-R1 lab

Browse files
Files changed (4) hide show
  1. Dockerfile +7 -0
  2. app.py +16 -0
  3. requirements.txt +3 -0
  4. training_data.txt +59 -0
Dockerfile ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+ WORKDIR /app
3
+ COPY requirements.txt .
4
+ RUN pip install --upgrade pip && pip install -r requirements.txt
5
+ COPY . .
6
+ EXPOSE 8501
7
+ CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
2
+ import streamlit as st
3
+
4
+ st.title("💬 DeepSeek-R1 Playground")
5
+
6
+ model_id = "deepseek-ai/DeepSeek-R1"
7
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
8
+ model = AutoModelForCausalLM.from_pretrained(model_id)
9
+
10
+ generator = pipeline("text-generation", model=model, tokenizer=tokenizer)
11
+
12
+ prompt = st.text_area("Enter your prompt here:")
13
+ if prompt:
14
+ output = generator(prompt, max_length=100, temperature=0.7)
15
+ st.write("### Output:")
16
+ st.success(output[0]['generated_text'])
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ transformers
2
+ torch
3
+ streamlit
training_data.txt ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Certainly! Below is a detailed backstory on the creation of *Grand Theft Auto V* (GTA V) and *Grand Theft Auto VI* (GTA VI), including development insights, challenges, and key milestones. This information is structured for AI training data.
2
+
3
+ ---
4
+
5
+ # **The Creation of Grand Theft Auto V (GTA V)**
6
+ ### **Conceptualization & Early Development (2008–2010)**
7
+ After the massive success of *Grand Theft Auto IV* (2008), Rockstar Games began planning its next major entry. The team, led by Rockstar North, wanted to push the boundaries of open-world gaming further by introducing:
8
+ - **Multiple protagonists** (a first for the series)
9
+ - **A vastly larger map** (Los Santos, inspired by Los Angeles)
10
+ - **Enhanced physics & AI** using the new RAGE (Rockstar Advanced Game Engine)
11
+ - **A more dynamic economy & side activities**
12
+
13
+ Initial ideas included a return to the satirical, over-the-top tone of *San Andreas* rather than the more grounded *GTA IV*.
14
+
15
+ ### **Development Challenges (2010–2012)**
16
+ - **Technical Limitations:** The game was initially developed for Xbox 360 and PS3, requiring optimization to handle the massive world.
17
+ - **Voice Acting & Motion Capture:** Recording three protagonists (Michael, Franklin, Trevor) required extensive sessions with actors (Ned Luke, Shawn Fonteno, Steven Ogg).
18
+ - **World Design:** Los Santos was designed to be dense and interactive, with underwater exploration, wildlife, and dynamic events.
19
+
20
+ ### **Release & Success (2013)**
21
+ - Launched on **September 17, 2013**, breaking sales records with **$1 billion in three days**.
22
+ - Praised for its storytelling, open-world freedom, and online multiplayer (*GTA Online*).
23
+ - Later expanded to **PS4, Xbox One, PC (2014–2015)**, and **PS5/Xbox Series X (2022)**.
24
+
25
+ ---
26
+
27
+ # **The Development of Grand Theft Auto VI (GTA VI)**
28
+ ### **Early Rumors & Leaks (2014–2020)**
29
+ After *GTA V*'s success, Rockstar shifted focus to *Red Dead Redemption 2* (2018), delaying *GTA VI*. Rumors suggested:
30
+ - A return to **Vice City** (Miami-inspired)
31
+ - A **female protagonist** (a first for the series)
32
+ - A **smaller but more detailed map** evolving over time
33
+
34
+ ### **Confirmed Development (2020–Present)**
35
+ - **September 2022:** A massive **leak** revealed early gameplay, confirming development.
36
+ - **February 2024:** Rockstar officially **announced GTA VI**, with a trailer set for December 2024.
37
+ - **Expected Features:**
38
+ - **Dual protagonists** (possibly a Bonnie & Clyde-style duo)
39
+ - **Modernized RAGE engine** with hyper-realistic AI & physics
40
+ - **Dynamic world events & expanded criminal empire mechanics**
41
+
42
+ ### **Challenges & Delays**
43
+ - **Work Culture Shifts:** After *RDR2*'s crunch controversy, Rockstar adopted a more flexible work policy, slowing production.
44
+ - **Next-Gen Demands:** Targeting **PS5 & Xbox Series X/S** requires advanced graphics, AI, and possibly VR support.
45
+ - **Live-Service Integration:** *GTA Online 2.0* is expected to be a major focus post-launch.
46
+
47
+ ### **Expected Release & Impact**
48
+ - **Projected Release:** 2025–2026 (likely delayed from initial 2024–2025 plans).
49
+ - **Anticipated Sales:** Likely to surpass *GTA V*’s records due to pent-up demand.
50
+
51
+ ---
52
+
53
+ ### **Conclusion**
54
+ - **GTA V** redefined open-world gaming in 2013, becoming one of the most profitable entertainment products ever.
55
+ - **GTA VI** is poised to push boundaries further, with advanced AI, immersive storytelling, and a reactive world.
56
+
57
+ This backstory provides a comprehensive overview of both games' development, useful for AI training on game design, industry trends, and Rockstar’s creative process.
58
+
59
+ Would you like additional details on specific aspects (e.g., engine tech, cultural impact)?